/*
 * Statistics.java
 *
 * Created on __DATE__, __TIME__
 */

package gui.internalFrame;

import gui.MainJFrame;
import model.DrawChart;

/**
 *
 * @author  __USER__
 */
public class Statistics extends javax.swing.JInternalFrame {

	/** Creates new form Statistics */
	public Statistics() {
		initComponents();
		int width = 550;
		int height = 350;
		setLocation(20, 0);
		DrawChart drawChart = new DrawChart();
		jLabel1.setText("<html><body><image width='" + width + "' height='"
				+ height + "'src="
				+ Statistics.this.getClass().getResource("dessertBar.jpg")
				+ "'></img></body></html>)");
		jLabel2.setText("<html><body><image width='" + width + "' height='"
				+ height + "'src="
				+ Statistics.this.getClass().getResource("dessertPie.jpg")
				+ "'></img></body></html>)");
	}

	/** This method is called from within the constructor to
	 * initialize the form.
	 * WARNING: Do NOT modify this code. The content of this method is
	 * always regenerated by the Form Editor.
	 */
	//GEN-BEGIN:initComponents
	// <editor-fold defaultstate="collapsed" desc="Generated Code">
	private void initComponents() {

		jTabbedPane1 = new javax.swing.JTabbedPane();
		jPanel1 = new javax.swing.JPanel();
		jLabel1 = new javax.swing.JLabel();
		jPanel2 = new javax.swing.JPanel();
		jLabel2 = new javax.swing.JLabel();

		setBackground(new java.awt.Color(170, 188, 120));
		setClosable(true);
		setName("\u7edf\u8ba1\u56fe\u8868");

		jTabbedPane1.setBackground(new java.awt.Color(215, 223, 194));

		jPanel1.setBackground(new java.awt.Color(215, 223, 194));

		jLabel1.setText("jLabel1");

		javax.swing.GroupLayout jPanel1Layout = new javax.swing.GroupLayout(
				jPanel1);
		jPanel1.setLayout(jPanel1Layout);
		jPanel1Layout.setHorizontalGroup(jPanel1Layout.createParallelGroup(
				javax.swing.GroupLayout.Alignment.LEADING).addGroup(
				jPanel1Layout.createSequentialGroup().addGap(66, 66, 66)
						.addComponent(jLabel1)
						.addContainerGap(622, Short.MAX_VALUE)));
		jPanel1Layout.setVerticalGroup(jPanel1Layout.createParallelGroup(
				javax.swing.GroupLayout.Alignment.LEADING).addGroup(
				jPanel1Layout.createSequentialGroup().addGap(31, 31, 31)
						.addComponent(jLabel1)
						.addContainerGap(358, Short.MAX_VALUE)));

		jTabbedPane1.addTab("\u67f1\u72b6\u56fe", jPanel1);

		jPanel2.setBackground(new java.awt.Color(215, 223, 194));

		jLabel2.setText("jLabel2");

		javax.swing.GroupLayout jPanel2Layout = new javax.swing.GroupLayout(
				jPanel2);
		jPanel2.setLayout(jPanel2Layout);
		jPanel2Layout.setHorizontalGroup(jPanel2Layout.createParallelGroup(
				javax.swing.GroupLayout.Alignment.LEADING).addGroup(
				jPanel2Layout.createSequentialGroup().addGap(59, 59, 59)
						.addComponent(jLabel2)
						.addContainerGap(629, Short.MAX_VALUE)));
		jPanel2Layout.setVerticalGroup(jPanel2Layout.createParallelGroup(
				javax.swing.GroupLayout.Alignment.LEADING).addGroup(
				jPanel2Layout.createSequentialGroup().addGap(34, 34, 34)
						.addComponent(jLabel2)
						.addContainerGap(355, Short.MAX_VALUE)));

		jTabbedPane1.addTab("\u997c\u72b6\u56fe", jPanel2);

		javax.swing.GroupLayout layout = new javax.swing.GroupLayout(
				getContentPane());
		getContentPane().setLayout(layout);
		layout.setHorizontalGroup(layout.createParallelGroup(
				javax.swing.GroupLayout.Alignment.LEADING).addComponent(
				jTabbedPane1, javax.swing.GroupLayout.DEFAULT_SIZE, 734,
				Short.MAX_VALUE));
		layout.setVerticalGroup(layout.createParallelGroup(
				javax.swing.GroupLayout.Alignment.LEADING).addComponent(
				jTabbedPane1, javax.swing.GroupLayout.DEFAULT_SIZE, 437,
				Short.MAX_VALUE));

		pack();
	}// </editor-fold>
	//GEN-END:initComponents

	//GEN-BEGIN:variables
	// Variables declaration - do not modify
	private javax.swing.JLabel jLabel1;
	private javax.swing.JLabel jLabel2;
	private javax.swing.JPanel jPanel1;
	private javax.swing.JPanel jPanel2;
	private javax.swing.JTabbedPane jTabbedPane1;
	// End of variables declaration//GEN-END:variables

}